$def with(p_vals)

$var title: $_(u'SIP Plugin Browser')
$var page: plugins_repo


<script>

    // Initialize behaviors
    jQuery(document).ready(function(){

        jQuery("#cSubmit").click(function() {
            jQuery("#installForm").submit();
        });
        jQuery("#cBack").click(function() {
            window.location= "/plugins";
        });
        jQuery("button#cCancel").click(function(){
            window.location= "/";
        });

    });
</script>

<div id="plugin_repo">
    <div class="title">$_(u'Available Plugins')</div>
    <p>$_(u'Unless otherwise stated these plugins are licensed under GPL 3.0')</p>
    <form id="installForm" action="${app_path('/inst-plugins')}" method="get">
        <table class="optionList">
            $ pnames = list(p_vals.keys())
            $pnames.sort()
            $for n in pnames:
            <tr>
				<td style='font-weight: bold;'><input type="checkbox" name=${n}> ${n}</td>
            </tr>
            <tr>
                <td style='text-transform: none;'>${p_vals[n]}</td>
            </tr>
        </table>
    </form>
</div>
<div class="controls">
    <button id="cSubmit" class="submit"><b>$_(u'install')</b></button>
    <button id="cBack" class="cancel danger"><b>$_(u'Back')</b></button>
    <button id="cCancel" class="cancel danger">$_(u'Cancel')</button>
</div>